project "Sandbox"
    kind "ConsoleApp"
    language "C++"
    cppdialect "C++17"
    staticruntime "off"

    targetdir ("%{wks.location}/bin/" .. outputdir .. "/%{prj.name}")
    objdir ("%{wks.location}/bin-int/" .. outputdir .. "/%{prj.name}")

    files{
        "src/**.h",
        "src/**.cpp"  
    }

    defines{
        "_SILENCE_CXX17_RESULT_OF_DEPRECATION_WARNING",
        "_SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING",
        "_SILENCE_ALL_MS_EXT_DEPRECATION_WARNINGS"
    }

    includedirs{
        "%{wks.location}/Catentacle/src",
        "%{wks.location}/Catentacle/vendor",
        "%{wks.location}/Catentacle/vendor/spdlog/include",
        "%{IncludeDir.glm}",
        "%{IncludeDir.entt}"
    }

    links{
        "Catentacle"
    }

    filter "system:windows"
        systemversion "latest"

        defines{
            "CT_PLATFORM_WINDOWS"
        }

    filter "configurations:Debug"
        defines "CT_DEBUG"
        runtime "Debug"
        symbols "on"            -- 
 
    filter "configurations:Release"
        defines "CT_RELEASE"
        runtime "Release"
        optimize "on"           -- 

    filter "configurations:Dist"
        defines "CT_DIST"
        runtime "Release"
        optimize "on"           -- 
